package com.adeng.springbootdemo.config;

        import lombok.Data;
        import org.springframework.beans.factory.annotation.Value;
        import org.springframework.stereotype.Component;

/**
 * @author hzwengcheng 2018-06-05 14:17
 */
@Component
@Data
public class TestProperties {

    @Value("${com.test.title}")
    private String title;

    @Value("${com.test.description}")
    private String description;

}
